package com.itheima.reggie.dto;

import com.itheima.reggie.Pojo.Dish;
import com.itheima.reggie.Pojo.DishFlavor;

import lombok.Data;
import java.util.ArrayList;
import java.util.List;

/**
 * dishdto
 * DTO，全称Data Transfer Object，即数据传输对象，用于展示层与服务层之间的数据传输
 */
@Data
public class DishDto extends Dish {

    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
